package com.ruoyi.flink.mapper;

import java.util.List;
import com.ruoyi.flink.domain.SavepointBackup;

/**
 * savepoint备份地址Mapper接口
 * 
 * @author shu_k
 * @date 2021-04-23
 */
public interface SavepointBackupMapper 
{
    /**
     * 查询savepoint备份地址
     * 
     * @param id savepoint备份地址ID
     * @return savepoint备份地址
     */
    public SavepointBackup selectSavepointBackupById(Long id);

    /**
     * 查询savepoint备份地址列表
     * 
     * @param savepointBackup savepoint备份地址
     * @return savepoint备份地址集合
     */
    public List<SavepointBackup> selectSavepointBackupList(SavepointBackup savepointBackup);

    /**
     * 新增savepoint备份地址
     * 
     * @param savepointBackup savepoint备份地址
     * @return 结果
     */
    public int insertSavepointBackup(SavepointBackup savepointBackup);

    /**
     * 修改savepoint备份地址
     * 
     * @param savepointBackup savepoint备份地址
     * @return 结果
     */
    public int updateSavepointBackup(SavepointBackup savepointBackup);

    /**
     * 删除savepoint备份地址
     * 
     * @param id savepoint备份地址ID
     * @return 结果
     */
    public int deleteSavepointBackupById(Long id);

    /**
     * 批量删除savepoint备份地址
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSavepointBackupByIds(Long[] ids);
}
